package com.xuecheng.teaching.feignclient;

import com.xuecheng.content.model.po.CourseBase;
import com.xuecheng.content.model.po.Teachplan;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

@Slf4j
@Component
public class ContentClientFallback implements ContentClient {


    @Override
    public List<Teachplan> getBycourseId(Long courseId) {
        log.error("远程调用查询课程计划失败");
        return null;
    }

    @Override
    public CourseBase getCourseBase(Long courseId) {
        log.error("远程调用查询课程失败");
        return null;
    }
}